package com.ruanhb.wsp.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by r on 2018-9-20
 */
@RestController
public class TestController {

    @Value("${user}")
    private String user;

    @Value("${weather.uri}")
    private String weatherUri;


    @GetMapping("test1")
    public String test1(){
        return "test1..."+user+"////////  "+weatherUri;
    }

}
